package com.lefeng.cockpit.common.bean.vo.execute;

import com.lefeng.cockpit.common.bean.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by weifw
 */
@Data
@ApiModel
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ExecutorVO extends BaseVo {

    @ApiModelProperty("执行器Id")
    private Integer id;

    @ApiModelProperty("执行器AppName")
    private String appName;

    @ApiModelProperty("执行器名称")
    private String title;

    @ApiModelProperty("执行器地址类型：0=自动注册、1=手动录入")
    private int addressType;

    @ApiModelProperty("执行器地址列表，多地址逗号分隔(手动录入)")
    private String addressList;

    @ApiModelProperty("Executor状态")
    private int status;

    @ApiModelProperty(value = "注册组")
    private String registryGroup;

    @ApiModelProperty(value = "注册键")
    private String registryKey;

    @ApiModelProperty(value = "注册值")
    private String registryValue;

    @ApiModelProperty(value = "CPU使用")
    private Double cpuUsage;

    @ApiModelProperty(value = "内存使用")
    private Double memoryUsage;

    private Double loadAverage;

    @ApiModelProperty(value = "datax.py 路径")
    private String pyPath;

    @ApiModelProperty(value = "executor 版本")
    private String version;


}
